package xin.yogee.ms.module.oa.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import xin.yogee.ms.common.BaseEntity;
import java.time.LocalDateTime;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

/**
 * <p>
 * 入库记录
 * </p>
 *
 * @author jackieQ
 * @since 2020-02-28
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class InputRecord extends BaseEntity {

    private static final long serialVersionUID = 1L;

    /**
     * 关联库存id
     */
    private String stockId;

    /**
     * 入库商品
     */
    private String productId;

    /**
     * 数量
     */
    private String counts;

    /**
     * 单价
     */
    private String price;

    /**
     * 总金额
     */
    private String total;

    /**
     * 购置时间
     */
    private String buyAt;

    /**
     * 购置时间
     */
    @TableField(exist = false)
    private String productName;


}
